﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FAQFrameworks;
using FooFun.DataElements.Dtos;

namespace FooFun.Web.Controls
{
    public class ManagersOfForum : DataElementControl
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            UserManager userManager = new UserManager();
            Guid forumId = FAQContext.Current.ForumId;

            IDataElement users = userManager.ListManagerInForum(forumId);

            this.DataElement = users;
        }
    }
}
